<template>
	<view class="card">
		<payCode />
		<view class="wallet">
			<view class="title">优惠卡</view>
			<view class="cards">
				<discountCards />
			</view>
		</view>
	</view>
</template>

<script setup lang="ts">
import discountCards from '../../components/discountCards.vue'
import payCode from '../../components/payCode.vue'
// 扣款成功  跳转成功页
</script>

<style lang="scss" scoped>
.card {
	height: 100vh;
	background: #f8f8f8;
	padding: 0 15px;
	position: relative;
}

.sep {
	height: 1px;
	background: #eceaeb;
	margin: 20px auto;
}

.card-sep {
	height: 1px;
	background: #eceaeb;
	margin: 20px 0;
}

.cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.card {
	margin-top: $uni-spacing-row-base;
	.tip {
		font-size: $uni-font-size-lg;
		margin-bottom: 5px;
	}
}
.top {
	// max-height: 320px;
	// overflow-y: hidden;
	.btn {
		width: 100px;
		font-size: 17px;
		color: white;
		background: #ff1700;
		line-height: 30px;
		margin: 20px auto 0;
		text-align: center;
		border-radius: $uni-border-radius-base;
	}
}
.wallet {
	background: white;
	border-radius: $uni-border-radius-lg;
	margin-top: $uni-spacing-row-lg;
	padding: 15px;

	.title {
		font-weight: 600;
		font-size: 18px;
		margin-bottom: $uni-spacing-row-base;
	}
}
.discount{
	font-size: 18px;
	display:inline;
}
</style>
